All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.app.Cursor

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.app.Cursor

public class Cursor
extends NativeObject
implements Coding
This class wraps the Objective-C class NSCursor.


Constructor Index

 o Cursor()
This default constructor is equivalent to Objective-C's [[NSCursor alloc] init].
 o Cursor(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Cursor(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.
 o Cursor(Image, Color, Color, Point)
This constructor has the same effect as calling - initWithImage:foregroundColorHint:backgroundColorHint:hotSpot: on a newly allocated object.
 o Cursor(Image, Point)
This constructor has the same effect as calling - initWithImage:hotSpot: on a newly allocated object.

Method Index

 o arrowCursor()
A wrapper for the + arrowCursor Objective-C class method.
 o currentCursor()
A wrapper for the + currentCursor Objective-C class method.
 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o hideCursor()
A wrapper for the + hide Objective-C class method.
 o hotSpot()
A wrapper for the - hotSpot Objective-C instance method.
 o IBeamCursor()
A wrapper for the + IBeamCursor Objective-C class method.
 o image()
A wrapper for the - image Objective-C instance method.
 o isSetOnMouseEntered()
A wrapper for the - isSetOnMouseEntered Objective-C instance method.
 o isSetOnMouseExited()
A wrapper for the - isSetOnMouseExited Objective-C instance method.
 o mouseEntered(Event)
A wrapper for the - mouseEntered: Objective-C instance method.
 o mouseExited(Event)
A wrapper for the - mouseExited: Objective-C instance method.
 o pop()
A wrapper for the - pop Objective-C instance method.
 o popCursor()
A wrapper for the + pop Objective-C class method.
 o push()
A wrapper for the - push Objective-C instance method.
 o set()
A wrapper for the - set Objective-C instance method.
 o setHiddenUntilMouseMoves(boolean)
A wrapper for the + setHiddenUntilMouseMoves: Objective-C class method.
 o setOnMouseEntered(boolean)
A wrapper for the - setOnMouseEntered: Objective-C instance method.
 o setOnMouseExited(boolean)
A wrapper for the - setOnMouseExited: Objective-C instance method.
 o unhideCursor()
A wrapper for the + unhide Objective-C class method.

Constructors

 o Cursor
 protected Cursor(boolean shouldAllocate,
                  int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Cursor
 public Cursor()
This default constructor is equivalent to Objective-C's [[NSCursor alloc] init].

 o Cursor
 public Cursor(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

 o Cursor
 public Cursor(Image newImage,
               Point aPoint)
This constructor has the same effect as calling - initWithImage:hotSpot: on a newly allocated object.

 o Cursor
 public Cursor(Image newImage,
               Color fg,
               Color bg,
               Point hotSpot)
This constructor has the same effect as calling - initWithImage:foregroundColorHint:backgroundColorHint:hotSpot: on a newly allocated object.

Methods

 o currentCursor
 public static native Cursor currentCursor()
A wrapper for the + currentCursor Objective-C class method.

 o arrowCursor
 public static native Cursor arrowCursor()
A wrapper for the + arrowCursor Objective-C class method.

 o IBeamCursor
 public static native Cursor IBeamCursor()
A wrapper for the + IBeamCursor Objective-C class method.

 o hideCursor
 public static native void hideCursor()
A wrapper for the + hide Objective-C class method.

 o unhideCursor
 public static native void unhideCursor()
A wrapper for the + unhide Objective-C class method.

 o setHiddenUntilMouseMoves
 public static native void setHiddenUntilMouseMoves(boolean flag)
A wrapper for the + setHiddenUntilMouseMoves: Objective-C class method.

 o popCursor
 public static native void popCursor()
A wrapper for the + pop Objective-C class method.

 o image
 public native Image image()
A wrapper for the - image Objective-C instance method.

 o hotSpot
 public native Point hotSpot()
A wrapper for the - hotSpot Objective-C instance method.

 o push
 public native void push()
A wrapper for the - push Objective-C instance method.

 o pop
 public native void pop()
A wrapper for the - pop Objective-C instance method.

 o set
 public native void set()
A wrapper for the - set Objective-C instance method.

 o setOnMouseExited
 public native void setOnMouseExited(boolean flag)
A wrapper for the - setOnMouseExited: Objective-C instance method.

 o setOnMouseEntered
 public native void setOnMouseEntered(boolean flag)
A wrapper for the - setOnMouseEntered: Objective-C instance method.

 o isSetOnMouseExited
 public native boolean isSetOnMouseExited()
A wrapper for the - isSetOnMouseExited Objective-C instance method.

 o isSetOnMouseEntered
 public native boolean isSetOnMouseEntered()
A wrapper for the - isSetOnMouseEntered Objective-C instance method.

 o mouseEntered
 public native void mouseEntered(Event theEvent)
A wrapper for the - mouseEntered: Objective-C instance method.

 o mouseExited
 public native void mouseExited(Event theEvent)
A wrapper for the - mouseExited: Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index